 //describes information for a player
import java.util.Date;
public class PlayerInfo
{
    public int id;
    public String username;
    public String email;
    public String password;
    public String gender;
    public String birth; //YYYY-MM-DD
    public GameStats[] gameStats;

	public String toString()
	{
		String out = "id="+id+";username="+username+";email="+email+";password="+password+";gender="+gender+";birth="+birth+";gameStats=";
		if(gameStats != null)
		{
			for(int i = 0;i<gameStats.length;i++)
			{
				out += "\n" + gameStats[i];
			}
		}
		return out;
	}

}

